package com.wushi.lenovo.asia5b.app_model.good;

import android.text.TextUtils;

import com.mvp.base.model.BaseModel;

/**
 * Created by zhangyuncai on 2020/3/27.
 */
public class ChargesBean extends BaseModel {
    /**
     * code : subtotal
     * title : 小计
     * default_title : Sub Total
     * value : 15.50
     * rate : 0
     * rate_type : 0
     * max_fee : 0
     * min_fee : 0
     * paid_price_different_list : []
     * different_amount : 0
     * tooltips : 选定产品的总价格
     * default_tooltips : Total amount of the selected product\'s price
     * formula : 选定产品的总价格
     * default_formula : Total amount of the selected product\'s price
     * text : RM 15.50
     * sort_order : 1
     */

    private String code;
    private String title;
    private String default_title;
    private String value;
    private String text;
    private String formula;

    public String getFormula() {
        return formula;
    }

    public String getCode() {
        return code;
    }


    public String getTitle() {
        return title;
    }


    public String getDefault_title() {
        if (!TextUtils.isEmpty(title))
            return getTitle();
        return default_title;
    }


    public String getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
